package inheritedPanel;

import java.awt.Color;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

import net.miginfocom.swing.MigLayout;

public class MenuLeft extends JPanel{
	private static final long serialVersionUID = 1L;

	public void setMenuIcon() {
		//initialize component
    	setLayout(new MigLayout("", "[][][]", "[]15[]"));
    	setBackground(new Color(210, 71, 38));
        lblLogo1 = new JLabel();
        lblLogo2 = new JLabel();
        lblLogo3 = new JLabel();
        lblLogo4 = new JLabel();
        
        //set logo
        lblLogo1.setIcon(new ImageIcon(getClass().getResource("/logo/sale_form.png")));
        lblLogo2.setIcon(new ImageIcon(getClass().getResource("/logo/sale_management.png")));
        lblLogo3.setIcon(new ImageIcon(getClass().getResource("/logo/sale_report.png")));
        
        add(lblLogo1, "wrap");
        add(lblLogo2, "wrap");
        add(lblLogo3);
        ControllerGeneral.setStyleMenuLeft(this);
	}
	
	/*
	 * @variable
	 */
//	public JPanel panel;
    public JLabel lblLogo1;
    public JLabel lblLogo2;
    public JLabel lblLogo3;
    public JLabel lblLogo4;
}
